*{
	padding: 0;
	margin: 0;
    outline: none;
}
canvas{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -300px;
	margin-top: -300px;
	background-color: #888;
	border: 10px outset #999;
}
#chessboard-cover{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -290px;
	margin-top: -290px;
	height: 600px;
	width: 600px;
	z-index: 10;
}
#chessboard-cover input{
	text-align: right;
	position: absolute;
	left: 270px;
	font: 900 18px "微软雅黑";
	height: 24px;
	width: 36px;
	padding: 0 10px;
	border-radius: 6px;
}
#white-chess-num{
	top: 12px;
	border: none;
}
#black-chess-num{
	color: #fff;
	bottom: 6px;
	border: none;
	background-color: #000;
}
#chessboard-cover span{
	position: absolute;
	left: 375px;
	font: 900 26px "隶书";
}
#white-think{
	display: none;
	color: #fff;
	top: 14px;
}
#black-think{
	bottom: 10px;
}
.chessPiece{
	font-size: 0;
	cursor: pointer;
	text-align: center;
	position: absolute;
	height: 30px;
	line-height: 30px;
	width: 30px;
	box-sizing: border-box;
	border-radius: 50%;
	z-index: 10;
}

.white,.white-hover{
	color: white;
	border-top: 6px solid #fff;
	border-right: 6px solid #bbb;
	border-bottom: 6px solid #bbb;
	border-left: 6px solid #fff;
	background-color: #ddd;
}
.black,.black-hover{
	color: black;
	border-top: 6px solid #444;
	border-right: 6px solid #000;
	border-bottom: 6px solid #000;
	border-left: 6px solid #444;
	background-color: #222;
}
#win-box{
	display: none;
	position: relative;
	left: 10px;
	top: 10px;
	height: 100%;
	width: 100%;
	z-index: 100;
}
#win-box p{
	color: darkred;
	position: absolute;
	top: 140px;
	left: 50%;
	height: 140px;
	width: 400px;
	margin-left: -210px;
	letter-spacing: 10px;
	text-align: center;
	font: 900 100px/140px "隶书";
	border: 10px solid darkorange;
	border-radius: 20px;
	background-color: orange;
}
#again-btn,#continue-btn,#query-btn,#ok-btn{
	color: #f00;
	cursor: pointer;
	position: absolute;
	font: 900 24px "微软雅黑";
	height: 50px;
	width: 150px;
	border-radius: 10px;
	border: 5px outset darkorange;
	background-color: orange;
}
#again-btn{
	top: 340px;
	left: 140px;
}
#query-btn{
	top: 340px;
	right: 140px;
}
#continue-btn{
	display: none;
	bottom: 10px;
	left: 50%;
	margin-left: -80px;
}
#ok-btn{
	top: 350px;
	left: 50%;
	margin-left: -80px;
}
#again-btn:hover,#continue-btn:hover,#query-btn:hover,#ok-btn:hover{
	color: darkred;
}
#again-btn:active,#continue-btn:active,#query-btn:active,#ok-btn:active{
	border: 5px inset darkorange;
}
#alert-window{
	display: none;
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(230,250,,190,.5);
	z-index: 100;
}
#ban-place{
	color: darkred;
	position: relative;
	top: 28%;
	left: 50%;
	margin-left: -200px;
	text-align: center;
	height: 100px;
	width: 400px;
	font: 900 24px/100px "微软雅黑";
	border: 5px solid darkorange;
	border-radius: 10px;
	background-color: orange;
}
